package com.aaa.service;

import com.aaa.entity.F_order;
import com.aaa.entity.F_returns;
import com.aaa.entity.Inventory;

import java.util.List;

public interface ForderServiceDao {
    List<F_order> find(Integer pagenum, Integer pagesize, Integer parcelid);
    int add(F_order f_order); //添加订单
    int delete(Integer id); //删除订单
    int deliver(Integer id); //发货
    int take(Integer id); //收货
    int salesreturn(Integer id);//退货
    List<F_order>  findpage(Integer pageSize, Integer pageNum);//分页
    Integer findpagecount();
    List<F_order>  findpage1();
    List<F_order>  findpage2(Integer pageSize, Integer pageNum);//分页
    Integer findcount2();//总条数
    List<F_order> select();
    Integer upd(Integer id);
    Integer updatenum(Inventory inventory);

    List<F_returns> findreturn(Integer pageSize, Integer pageNum); //退货分页
    Integer returncount();
    Integer  returnupd(Integer user ,Integer id);
    List<F_returns> findreturns();
}
